<ul class="sidebar-menu">
    <li class="header">管理菜单</li>

    <li class="treeview" id="index-1">
        <a href="#">
            <i class="fa fa-home" aria-hidden="true"></i>
            <span>首页</span>
            <span class="label label-primary pull-right">1</span>
        </a>
        <ul class="treeview-menu">
            <li id="index-1-1">
                <a href="{{ url_for("admin.index") }}">
                    <i class="fa fa-circle-o"></i> 控制面板
                </a>
            </li>
        </ul>
    </li>

    <li class="treeview" id="tag-1">
        <a href="#">
            <i class="fa fa-tags" aria-hidden="true"></i>
            <span>标签管理</span>
            <span class="label label-primary pull-right">2</span>
        </a>
        <ul class="treeview-menu">
            <li id="tag-1-1">
                <a href="{{ url_for("admin.tag_add") }}">
                    <i class="fa fa-circle-o"></i> 添加标签
                </a>
            </li>
            <li id="tag-1-2">
                <a href="{{ url_for("admin.tag_list") }}">
                    <i class="fa fa-circle-o"></i> 标签列表
                </a>
            </li>
        </ul>
    </li>

    <li class="treeview" id="movie-1">
        <a href="#">
            <i class="fa fa-file-video-o" aria-hidden="true"></i>
            <span>电影管理</span>
            <span class="label label-primary pull-right">2</span>
        </a>
        <ul class="treeview-menu">
            <li id="movie-1-1">
                <a href="{{ url_for("admin.movie_add") }}">
                    <i class="fa fa-circle-o"></i> 添加电影
                </a>
            </li>
            <li id="movie-1-2">
                <a href="{{ url_for("admin.movie_list") }}">
                    <i class="fa fa-circle-o"></i> 电影列表
                </a>
            </li>
        </ul>
    </li>

    <li class="treeview" id="preview-1">
        <a href="#">
            <i class="fa fa-film" aria-hidden="true"></i>
            <span>预告管理</span>
            <span class="label label-primary pull-right">2</span>
        </a>
        <ul class="treeview-menu">
            <li id="preview-1-1">
                <a href="{{ url_for("admin.preview_add") }}">
                    <i class="fa fa-circle-o"></i> 添加预告
                </a>
            </li>
            <li id="preview-1-2">
                <a href="{{ url_for("admin.preview_list") }}">
                    <i class="fa fa-circle-o"></i> 预告列表
                </a>
            </li>
        </ul>
    </li>

    <li class="treeview" id="user-1">
        <a href="#">
            <i class="fa fa-users" aria-hidden="true"></i>
            <span>会员管理</span>
            <span class="label label-primary pull-right">1</span>
        </a>
        <ul class="treeview-menu">
            <li id="user-1-1">
                <a href="{{ url_for("admin.user_list") }}">
                    <i class="fa fa-circle-o"></i> 会员列表
                </a>
            </li>
        </ul>
    </li>

    <li class="treeview" id="comment-1">
        <a href="#">
            <i class="fa fa-comments" aria-hidden="true"></i>
            <span>评论管理</span>
            <span class="label label-primary pull-right">1</span>
        </a>
        <ul class="treeview-menu">
            <li id="comment-1-1">
                <a href="{{ url_for("admin.comment_list") }}">
                    <i class="fa fa-circle-o"></i> 评论列表
                </a>
            </li>
        </ul>
    </li>

    <li class="treeview" id="moviecol-1">
        <a href="#">
            <i class="fa fa-heart" aria-hidden="true"></i>
            <span>收藏管理</span>
            <span class="label label-primary pull-right">1</span>
        </a>
        <ul class="treeview-menu">
            <li id="moviecol-1-1">
                <a href="{{ url_for("admin.moviecol_list") }}">
                    <i class="fa fa-circle-o"></i> 收藏列表
                </a>
            </li>
        </ul>
    </li>

    <li class="treeview" id="log-1">
        <a href="#">
            <i class="fa fa-file-text" aria-hidden="true"></i>
            <span>日志管理</span>
            <span class="label label-primary pull-right">3</span>
        </a>
        <ul class="treeview-menu">
            <li id="log-1-1">
                <a href="{{ url_for("admin.oplog_list") }}">
                    <i class="fa fa-circle-o"></i> 操作日志列表
                </a>
            </li>
            <li id="log-1-2">
                <a href="{{ url_for("admin.adminloginlog_list") }}">
                    <i class="fa fa-circle-o"></i> 管理员登录日志列表
                </a>
            </li>
            <li id="log-1-3">
                <a href="{{ url_for("admin.userloginlog_list") }}">
                    <i class="fa fa-circle-o"></i> 会员登录日志列表
                </a>
            </li>
        </ul>
    </li>

    <li class="treeview" id="auth-1">
        <a href="#">
            <i class="fa fa-lock" aria-hidden="true"></i>
            <span>权限管理</span>
            <span class="label label-primary pull-right">2</span>
        </a>
        <ul class="treeview-menu">
            <li id="auth-1-1">
                <a href="{{ url_for("admin.auth_add") }}">
                    <i class="fa fa-circle-o"></i> 添加权限
                </a>
            </li>
            <li id="auth-1-2">
                <a href="{{ url_for("admin.auth_list") }}">
                    <i class="fa fa-circle-o"></i> 权限列表
                </a>
            </li>
        </ul>
    </li>

    <li class="treeview" id="role-1">
        <a href="#">
            <i class="fa fa-user-secret" aria-hidden="true"></i>
            <span>角色管理</span>
            <span class="label label-primary pull-right">2</span>
        </a>
        <ul class="treeview-menu">
            <li id="role-1-1">
                <a href="{{ url_for("admin.role_add") }}">
                    <i class="fa fa-circle-o"></i> 添加角色
                </a>
            </li>
            <li id="role-1-2">
                <a href="{{ url_for("admin.role_list") }}">
                    <i class="fa fa-circle-o"></i> 角色列表
                </a>
            </li>
        </ul>
    </li>

    <li class="treeview" id="admin-1">
        <a href="#">
            <i class="fa fa-user-circle" aria-hidden="true"></i>
            <span>管理员管理</span>
            <span class="label label-primary pull-right">2</span>
        </a>
        <ul class="treeview-menu">
            <li id="admin-1-1">
                <a href="{{ url_for("admin.admin_add") }}">
                    <i class="fa fa-circle-o"></i> 添加管理员
                </a>
            </li>
            <li id="admin-1-2">
                <a href="{{ url_for("admin.admin_list") }}">
                    <i class="fa fa-circle-o"></i> 管理员列表
                </a>
            </li>
        </ul>
    </li>
</ul>
